{extend name="base"/}
{block name="css"}

{/block}
{block name="content"}

<div style="padding: 15px;">
    <fieldset class="layui-elem-field">
        <legend>商品分类 - 分类管理</legend>
        <div class="layui-field-box">
            <table class="layui-hide" id="list" lay-filter="goods_category"></table>
        </div>
    </fieldset>
</div>




{/block}
{block name="js"}

<script type="text/javascript" src="/static/backend/js/goodsCategory.js?t=3"></script>
<script type="text/html" id="titleTpl">
    <img src="{{d.thumb}}" width="80px"/>
</script>
<!--<script type="text/html" id="toolbar">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-normal layui-btn-sm add">添加分类</button>
    </div>
</script>-->
<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <!--<a class="layui-btn layui-btn-xs" style="background-color: #227dff;" lay-event="del">删除</a>-->

</script>
<script type="text/html" id="ISSHOW">
    <input type="checkbox" id="wrst1" name="disable" value="{{d.is_show}}" {{# if(d.is_show === 1) { }} checked {{# } }} class="switch"  lay-skin="switch" lay-filter="switchTest" lay-text="ON|OFF">
</script>
{/block}